package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.DataSyncTableRecord;
import cn.getech.data.development.model.dto.DataSyncInfoAddDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Author luoxi
 * @create 2020/11/16 15:22
 */
@Mapper
public interface DataSyncTableRecordMapper extends BaseMapper<DataSyncTableRecord> {

    void batchInsert(@Param("recordList") List<DataSyncTableRecord> recordList);

    void edit(@Param("dataSyncInfoAddDTO") DataSyncInfoAddDTO dataSyncInfoAddDTO);

    void delTableRecord(Integer id);

}
